﻿using System;
using System.Web.Mvc;

namespace SubForum.Web.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        /// <summary>
        /// Indexe Controller this instance.
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            ViewData["Message"] = "Welcome to SubForum. Here you will find Forums, Blogs, Question Answers, and more!";

            return View();
        }

        /// <summary>
        /// Abouts Controller instance.
        /// </summary>
        /// <returns></returns>
        public ActionResult About()
        {
            return View();
        }
    }
}
